package com.ymt.bpm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class})
@EnableTransactionManagement
@ServletComponentScan(basePackages={"com.ymt.bpm"})
@ComponentScan(basePackages = {"com.ymt.bpm"})
@EnableCaching
public class DDMAppApplication {

	public static void main(String[] args) {
		SpringApplication.run(DDMAppApplication.class, args);
	}
}
